package simpleFactory;

public class Nvwa {
    private String production;

    Nvwa(String production){
        this.production = production;
    }

    public Person factoryProductionSelect(){
        switch(production){
            case "Man":return new Man("penis");
            case "Woman":return new Woman("virgina");
            case "Robot":return new Robot("usb");
            default: return null;
        }
    }
}
